#####################################
PROJECT (TEST)

MESSAGE (STATUS "This is CMAKE SOURCE DIR:" ${CMAKE_SOURCE_DIR})

SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
SET(TEST_SOURCE ${CMAKE_SOURCE_DIR}/test/test.cpp)

file(GLOB SOURCE ${CMAKE_SOURCE_DIR}/src/*.cpp)

ADD_EXECUTABLE(${PROJECT_NAME} ${TEST_SOURCE} ${SOURCE})
target_link_libraries(${PROJECT_NAME} pthread)